$(function() { 
	var mapCanvas = $('#mapCanvas');
	map(mapCanvas,1,{});	
});
education = function(spec) {	
	$.getJSON(HOST_FRONTEND + 'ajax/education?callback=?',
		{type:1,spec:spec}, 
		function(data) {			
			if(data.content != '') {	
				$('.box-education nav a').removeClass('active');			
				$('#education' + spec).addClass('active');
				$('#educationCnt').html(data.content);
			}
		}
	);
}
trend = function(type) {	
	$.getJSON(HOST_FRONTEND + 'ajax/trend?callback=?',
		{type:type}, 
		function(data) {			
			if(data.content != '') {
				$('.box-trend nav li').removeClass('active');			
				$('#trend' + type).addClass('active');
				$('#trendCnt').html(data.content);
			}
		}
	);
}